package com.fit.dao.client;

import java.util.List;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;
import com.fit.entities.Client;

public interface ClientDAO {

	@CommitAfter
	public boolean save(Client client);

	public Client findByPersonalId(String personalId);

	public List<Client> findAll();

	@CommitAfter
	public boolean update(Client client);

	@CommitAfter
	public boolean deleteByPersonalId(String personalId);

	public boolean checkRegistrations(Client client);

}
